.container {
  background-color: var(--gray-200);
  width: 100%;
  height: 100vh;
  overflow: auto;
}

.main {
  max-width: 1280px;
  width: 100%;
  display: flex;
  margin: 0 auto;
}

.left-side {
  padding: 0.4em;
}
.left-side ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  top: 1em;
}
.left-side ul li {
  list-style: none;
}

.left-side__a {
  text-decoration: none;
  color: var(--gray-900);
  text-indent: 5em;
  white-space: nowrap;
  overflow: hidden;
  width: 1.6em;
  height: 1.6em;
  display: inline-block;
  position: relative;
}

.left-side__a::after {
  position: absolute;
  left: 0;
  top: 0;
  text-indent: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 1.6em;
  font-size: 1rem;
  background-color: var(--gray-400);
  color: var(--gray-900);
}

.left-side__a:hover::after {
  background-color: var(--primary-color);
  color: var(--white);
}

.left-side__max::after {
  content: "\002B";
}

.left-side__min {
  margin-bottom: 2em;
}

.left-side__min::after {
  content: "\2212";
}

.left-side__a.left-side__page {
  text-indent: 0;
  text-align: center;
}

.left-side__prev::after {
  content: "\2191";
}

.left-side__next::after {
  content: "\2193";
}

.document {
  flex: 1;
  padding: 0.4em;
  height: 100%;
  background-color: var(--gray-200);
}

.document h1 {
  font-size: 1.5rem;
  text-align: center;
  padding: 0.5em 0;
}

.document h2 {
  font-size: 1.3rem;
  text-align: center;
  padding: 0.5em 0;
}

.document h3 {
  font-size: 1.1rem;
  text-indent: 2cap;
  padding: 0.5em 0;
}

.document p {
  font-size: 0.875rem;
  text-indent: 2cap;
  line-height: 1.7;
  letter-spacing: 0.125em;
}

.document__page {
  background-color: var(--white);
  padding: 0.5em;
}

.document__page + .document__page {
  margin-top: 0.5em;
}

.page__item {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--warning-color); /* 下划线颜色 */
  text-decoration-thickness: 2px; /* 下划线粗细 */
  text-underline-offset: 0.4em; /* 与文字基线的距离 */
}

.page__footer {
  text-align: center;
  padding: 1em 0 0.5em;
  font-size: 0.7rem;
}

.check {
  width: 15em;
  padding-left: 0.5em;
  position: relative;
}

.check__item {
  font-size: 0.7rem;
  background-color: var(--white);
  padding: 0.5em;
  border-radius: 0.3em;
  box-shadow: 2px 2px 2px 2px var(--gray-400);
  position: absolute;
  left: 0;
  /* opacity: 0.4; */
}

.check__item--active {
  /* opacity: 1; */
  z-index: var(--z-loading-indicator);
}
